package top.hzy520.admin.common.exception;


import top.hzy520.admin.common.constants.Constants;

/**
 * @Author: HouZeYu
 * @Description:
 * @Date: Created in 21:57 2018/5/13
 */
public class OnlineEducationException extends RuntimeException {
    private int statusCode=Constants.RESP_STATUS_INTERNAL_ERROR;

    public OnlineEducationException(String message, int statusCode) {
        super(message);
        this.statusCode = statusCode;
    }

    public OnlineEducationException(String message) {
        super(message);
    }

    public int getStatusCode() {
        return statusCode;
    }

    public void setStatusCode(int statusCode) {
        this.statusCode = statusCode;
    }
}
